﻿using System;

namespace WebControlsLibrary
{
    public partial class RegisterUser : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnRegisterUser_Click(object sender, EventArgs e)
        {
            lbResult.Visible = true;
            lbResult.Text = string.Format("User {0} {1} was registered and email was sent to {2}",
                edName.Text, edSurname.Text, edEmail.Text);
        }
    }
}